""" Configurable. Run once then poison channels. """
from common import *
#__IMPORTS__

default_data = None

def setup(data = default_data):
    import wx
    dlg = wx.TextEntryDialog(
        None, 'Data value?',
        'Configure Process', str(data))
    if dlg.ShowModal() == wx.ID_OK:
        try:
            data = eval(dlg.GetValue())
        except:
            data = dlg.GetValue()
    dlg.Destroy()
    return data

def ___FUNCTIONNAME___(___CHANNELS___ , data = default_data):
    ___READCHANNELS___

    __WORK__

    ___WRITECHANNELS___

    ___POISONREADCHANNELS___
    ___POISONWRITECHANNELS___
